﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Master_Page/Master_Popup.Master" CodeBehind="frm_FindCustomer_Popup.aspx.vb" Inherits="I_PORT.frm_FindCustomer_Popup" 
    title="IRPC INTELLIGENT PORT SERVICE" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
             <td style="width:20%;" align="right"><asp:Label ID="lbNameCustomer" runat="server" SkinID="lbtxt" Text="Customer :"></asp:Label>&nbsp;</td>
             <td align="left"><asp:TextBox ID="txtCustomer" runat="server"></asp:TextBox>
             <asp:Button ID="btnSearch" runat="server" Text="ค้นหา" CssClass="ButtonStyle" />
             </td>
        </tr>
        <tr>
           <td style="height:5px;"><img src="../Image/space.gif" /></td>
        </tr>
        <tr>
           <td align="center" colspan="2">
              <asp:UpdatePanel ID="updatePanelGrid" runat="server" UpdateMode="Conditional"><ContentTemplate>
              <asp:GridView ID="gridCustomer" runat="server" SkinID="gridblueNoPage"  DataKeyNames="Customer_no,Name,STREET,STR_SUPPL3,LOCATION,District,Postal_Code,City,Default_Pay"
                     AutoGenerateColumns="False">
                     <Columns> 
                         <asp:TemplateField HeaderText="CUSTOMER NO." ItemStyle-Wrap="false">
                               <ItemTemplate>
                                  <asp:LinkButton ID="LinkBooking" runat="server" Text="<%# Bind('Customer_no') %>" CommandArgument="<%# Container.DataItemIndex %>" CommandName="Edit"></asp:LinkButton>
                               </ItemTemplate>
                          </asp:TemplateField>
                         <asp:BoundField HeaderText="Name" DataField="Name" />
                     </Columns>
                 </asp:GridView>
               </ContentTemplate></asp:UpdatePanel>
           </td>
        </tr>
        <tr>
           <td style="height:5px;"><img src="../Image/space.gif" /></td>
        </tr>
        <tr>
           <td align="center" colspan="2"><asp:Button ID="btnClose" runat="server" Text="Close" CssClass="ButtonStyle" /></td>
        </tr>
     </table>
</asp:Content>
